* {
    padding: 0;
    margin: 0;
}

body,html {
    width: 100%;
}

.bg {
    background: url(../images/bg.png) no-repeat;
    background-size: 100% 100%;
    background-position: 0;
}

.red {
    background: #CA403D;
}

.card {
    background: url(../images/card.png) no-repeat #FFDA5E;
    background-size: cover;
    margin: 3% 5% 0 5%;
}

.logo {
    width: 16%;
    margin: 3% 0 0 82%;
    position: relative;
}

.word1 {
    width: 66%;
    margin: 0 17%;
    position: relative;
    margin-top: -8%;
}

.newbag {
    width: 90%;
    margin: 2% 5%;
    position: relative;
}

.redbag {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.fix {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 100%;
}

.caidai {
    width: 100%;
    margin-top: 40px;
}

.tip {
    width: 90%;
    margin: 0 5%;
    font-size: 14px;
    position: relative;
    margin-top: 10%;
    color: #FFDA5E;
    text-align: center;
}

.button {
    width: 70%;
    margin: 5% 15%;
    bottom: 0;
    left: 0;
    position: absolute;
}

.gua {
    width: 80%;
    margin: 0 10%;
}

.bar {
    width: 110%;
    margin-left: -5%;
    vertical-align: bottom;
    position: relative;
    margin-top: 29%;
}

.red2 {
    width: 90%;
    padding: 0 5%;
    background: #CA403D
}

.rule {
    width: 100%
}

.lh24 {
    line-height: 22px;
    color: #fff;
    font-size: 14px;
    padding: 0
}

.wordnew {
    margin: 3% 5% 0 5%;
    width: 90%;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    text-align: center;
}

table thead tr {
    background: #AF322E;
    color: #FFDA5E;
}

table thead td {
    padding: 5px
}

table tbody td {
    color: #fff;
    padding: 5px
}

#scratchpad {
    position: absolute;
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-left: 5%;
    line-height: 110px;
}

#prize {
    position: absolute;
    text-align: center;
    font-size: 20px;
    color: #333;
    line-height: 110px;
}

.word3 {
    width: 80%;
    margin: 5% 10%;
    bottom: 14%;
    position: absolute;
    left: 0;
}

.iframe-div {
    background: rgba(0,0,0,0.7);
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
}

.iframe-content {
    background: #CA403D;
    width: 80%;
    margin: 100px 5%;
    padding: 5%;
    color: #FFDA5E;
}

.title {
    text-align: center;
    font-size: 14px;
    line-height: 24px;
}

.sixcode {
    margin-top: 13px;
}

.sixcode input {
    border: 0;
    border-radius: 5px;
    width: 90%;
    padding: 5px 5%;
    height: 30px;
    background: #eee;
}

.two-button {
    margin-top: 15px;
    text-align: center;
}

.two-button button {
    border: 0;
    width: 100px;
    height: 36px;
    border-radius: 5px;
    background: #D2D1D1;
    color: #373737;
    font-size: 16px;
    margin: 0 10px;
}

.two-button button.submit {
    background: #FFDA5E;
    color: #AF322E;
}